/**
 * @Company: 北京慧点科技有限公司 | www.smartdot.com.cn
 * @Copyright 1998-2020 © Smartdot Technologies Co., Ltd.
 */
package com.springlearn.zhoufei.other.spring.demo4.autotationAop;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class HelloAOP3_TEST {
    public static void main(String[] args) {
        
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(HelloAOP3_config.class); // 1
        
        HelloAOP3 helloAOP3 = (HelloAOP3) context.getBean("helloAOP3");
        
        System.out.println("----------------");
        helloAOP3.getAge();

        context.close();
    }
}